@extends('layouts.home')
@section('content')
		<section>
			<div class="comp-titwrap">
				<span class="font40 comp-line comp-float"></span>
				<span class="font40 comp-tit comp-float">新闻中心</span>
				<span class="font40 comp-line comp-floatr"></span>
				<div class="clearfix"></div>
			</div>
			<div class="news-box">
				<ul class="news-wrap">
					<a class="font40 fontwhite new-tit index-newscur" href="###"><li>行业新闻</li></a>
					<a class="font40 fontwhite new-tit" href="###"><li>公司动态</li></a>
					<a class="font40 fontwhite new-tit" href="###"><li>专题报道</li></a>
					<div class="clearfix"></div>
				</ul>
				<div class="news-newtitwrap">
					<div class="news-titwrap">
						@foreach($news as $v)
						<a class="news-tititem" href="{{url('new/'.$v->art_id)}}">
							<span class="news-titleft font20">{{$v->art_title}}</span>
							<span class="news-titright font18"><?php echo date('Y-m-d', $v->art_time);?></span>
							<div class="clearfix"></div>
						</a>
						@endforeach
						<div class="page-wrap font24 page-center">
							{{$news->links()}}
						</div>
					</div>
					<div class="news-titwrap box-hidden">
						@foreach($state as $v)
						<a class="news-tititem" href="{{url('new/'.$v->art_id)}}">
							<span class="news-titleft font20">{{$v->art_title}}</span>
							<span class="news-titright font18"><?php echo date('Y-m-d', $v->art_time);?></span>
							<div class="clearfix"></div>
						</a>
						@endforeach
						<div class="page-wrap font24 page-center">
							{{$state->links()}}
						</div>
					</div>
					<div class="news-titwrap box-hidden">
						@foreach($subject as $v)
						<a class="news-tititem" href="{{url('new/'.$v->art_id)}}">
							<span class="news-titleft font20">{{$v->art_title}}</span>
							<span class="news-titright font18"><?php echo date('Y-m-d', $v->art_time);?></span>
							<div class="clearfix"></div>
						</a>
						@endforeach
						<div class="page-wrap font24 page-center">
							{{$subject->links()}}
						</div>
					</div>
				</div>
			</div>
		</section>
		<style>
			.pagination{
				margin-top: 10px;
				display: inline-block;
				border: 1px solid #ddd;
			}
			.pagination li {
				float: left;
				font-size: 12px;
				border-right: 1px solid #ddd;
				padding: 4px 8px;
				margin-right: -1px;
			}
		</style>
@endsection